import {
	request
} from '@/util/api.js'

// 获取用户账号
export const userShowAccount = (data) => {
	return request({
		url: 'api/user/show_account',
		method: 'post',
		data
	})
}

// 旧帐号验证
export const userAccount = (data) => {
	return request({
		url: 'api/user/account',
		method: 'post',
		data
	})
}

// 账号修改
export const userVerification = (data) => {
	return request({
		url: 'api/user/up_account',
		method: 'post',
		data
	})
}

// 修改密码
export const userUpPwd = (data) => {
	return request({
		url: 'api/user/up_pwd',
		method: 'post',
		data
	})
}